package com.jiangyao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改投递简历状态参数，2为接受  0为拒绝")
public class EditDeliverDTO implements BaseDTO {

	private static final long serialVersionUID = -1473774098222893189L;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "职位id", required = true)
	@NotNull(message = "职位id不能为空", groups = {Add.class})
	private Long jobId;

	@ApiModelProperty(value = "组织id", required = true)
	@NotNull(message = "组织id不能为空", groups = {Add.class})
	private Long orgId;

	@ApiModelProperty(value = "成员id")
	private Integer userId;

	/**
	 * 状态 1待确认 2已接受 0已拒绝
	 */
	@ApiModelProperty(value = "2已接受 0已拒绝", required = true)
	@NotNull(message = "用户名称不能为空", groups = {Add.class})
	private Integer status;
}
